package com.cn.mapper.dao.db5.ComponentMechanical;

import com.cn.bean.pojo.ComponentMechanical.AbnormalApplicationMainTable;
import com.cn.bean.pojo.ComponentMechanical.AbnormalApplicationSubTable;
import com.cn.bean.pojo.lbj.ComponentSingleRegistrationTable;
import com.cn.bean.pojo.lbj.SingleParameterItemCurrentDataTable;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AbnormalApplicationDao {
    List<AbnormalApplicationMainTable>selectAbnormalApplicationMain(AbnormalApplicationMainTable abnormalApplicationMainTable);
    List<ComponentSingleRegistrationTable>selectAbnormalComponent(ComponentSingleRegistrationTable componentSingleRegistrationTable);
    List<AbnormalApplicationSubTable>selectAbnormalApplicationSubTable(int id);
    List<AbnormalApplicationSubTable>selectAbnormalSubTable(AbnormalApplicationSubTable abnormalApplicationSubTable);
    Integer getAbnormalApplicationMainAutoid();
    Integer getAbnormalApplicationSubAutoid();
    List<SingleParameterItemCurrentDataTable> selectCurrentData(SingleParameterItemCurrentDataTable singleParameterItemCurrentDataTable);
    Boolean insertAbnormalApplicationMain(AbnormalApplicationMainTable abnormalApplicationMainTable);
    Boolean insertAbnormalApplicationSub(AbnormalApplicationSubTable abnormalApplicationSubTable);
    Boolean updateAbnormal(String uniqueCode);
    Boolean lockAbnormal(ComponentSingleRegistrationTable componentSingleRegistrationTable);
    Boolean updateAbnormalData(AbnormalApplicationMainTable abnormalApplicationMainTable);
    Boolean delAbnormalSub(int id);
    Boolean updateAbnormalAudit(int id);
    Boolean updateAbnormalStatus(ComponentSingleRegistrationTable componentSingleRegistrationTable);
}
